﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="true" CodeBehind="Default.aspx.cs" Inherits="ProbaWeb._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link rel="Stylesheet" href="Stylesheet.css" type="text/css" />
    

</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
    <asp:Repeater ID="outer" runat="server">
     <ItemTemplate>
        <%#DataBinder.Eval(Container.DataItem,"Name" )%>
        <asp:Repeater ID="inner" runat="server">
         <ItemTemplate>
         <div class="innerDiv" >
         <asp:Label runat="server" Text='<%#Container.DataItem %>'></asp:Label>
         </div>
         </ItemTemplate>
        </asp:Repeater>
        <asp:Button ID="button" runat="server" Text="Reserv" class="button" OnCommand="button_Command" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"WayStations") %>'/>
        <br/>
     </ItemTemplate>
    </asp:Repeater>
    <asp:Label ID="lbl" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
